home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
356
/
defs
/
bufferio.def
< prev
next >
Wrap
Text File
|
1992-03-11
|
2KB
|
48 lines
DEFINITION MODULE BufferIO;
(* File name: BufferIO.def *)
(* Creation : June 24,1985 *)
(* Function : Provid buffer I/O to Text and Binary files *)
(* By : Morris *)
(* *)
(*
* Copyright (c) 1985, 1986 by
* Djavaheri Bros., Foster City, California.
* All Rights Reserved.
*
* This software is furnished under a license and may be used and copied
* only in accordance with the terms of such license and with the
* inclusion of the above copyright notice. This software or any other
* copies thereof may not be provided or otherwise made available to any
* other person. No title to and ownership of the software is herby
* transferred.
*
* The information in this software is subject to change without notice
* and should not be construed as a commitment by Djavaheri Bros. No
* warranty is implied or expressed.
*
* SCCID = "1.1 1/26/86";
*)
(* History of modifcation *)
(* Date Who Why *)
(* *)
FROM Files IMPORT File;
FROM SYSTEM IMPORT ADDRESS;
EXPORT QUALIFIED SetBuff,FlushBuffer,BufferRead,
UnDoBuffer,BufferWrite;
PROCEDURE SetBuff(file:File;NewSize:CARDINAL;Buffer:ADDRESS);
PROCEDURE FlushBuffer(file: File);
PROCEDURE UnDoBuffer(file : File; n: CARDINAL):CHAR;
PROCEDURE BufferRead(file : File; buffer : ADDRESS ;n:CARDINAL ;
VAR m : CARDINAL);
PROCEDURE BufferWrite(file : File; buffer : ADDRESS ;n:CARDINAL );
END BufferIO.